package com.javector.binding;

import com.javector.soashopper.ShopperImp;
import com.javector.soashopper.ebay.SOAShopperEBayBinding;

import ebay.apis.eblbasecomponents.EBayAPIInterface;

public abstract class BindingService {

	public static <C> C getBinding(Class<C> client, Class<?> service) {

		// Stub implementation for testing purposes
		if (client.equals(ShopperImp.class) && service.equals(EBayAPIInterface.class)) {
			return (C) new SOAShopperEBayBinding();
		}
		return null;
		
	}
	

}
